package com.app.service;

import com.app.model.ConsumptionOrderModel;
import com.app.model.UserModel;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

public interface ConsumptionOrderService extends IService<ConsumptionOrderModel> {


    @Transactional
    void buyConsumptionOrder(ConsumptionOrderModel consumptionOrder, UserModel user);

}
